﻿using System;
using System.Net;
using System.Net.Mail;
using NUnit.Framework;
using Smartkernel.Net;

namespace Smartkernel.NUnitTest.Net
{
    [Category("Net")]
    [TestFixture]
    public class SmartIPTest
    {
        [Test]
        public void Test()
        {
            //【01】获得IP地址的常整数表示（涉及方法：Send）
            Assert.AreEqual(SmartIP.GetLongAddress("127.0.0.1") < SmartIP.GetLongAddress("192.0.0.1"), true);
        }
    }
}
